//
//  JailbreakDetectTool.h
//  Source
//
//  Created by Toj on 5/11/22.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface JailbreakDetectTool : NSObject

// 检查当前设备是否已经越狱. 第一次会缓存到内存中, 下次直接从内存中读取
@property (assign, nonatomic, readonly) BOOL isJailbroken;

/**
 * 检查当前设备是否已经越狱. 不缓存到内存中
 */
+ (BOOL)detectIsJailbroken;

@end

NS_ASSUME_NONNULL_END
